﻿using System;

namespace _75_反转数组_数组
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("-------完全反转--------");

            string[] 一定要争气 = { "济南", "威海", "宁波", "山东", "上格" };
            Console.WriteLine("原数据组为{0}",string.Join(',',一定要争气 ));
            Array.Reverse(一定要争气);
            Console.WriteLine("反转后数据组为：{0}\n", string.Join(",", 一定要争气));

            int[] 从来不争气 = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
            Console.WriteLine("原数据组为{0}", string.Join(',', 从来不争气));
            Array.Reverse(从来不争气,3,4);
            Console.WriteLine("反转后数组为{0}",string.Join(',', 从来不争气));

                Console.Read();

        }
    }
}
